//
//  SettingCellView.m
//  EasyChat
//
//  Created by romana on 16/6/19.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "SettingCellView.h"

@implementation SettingCellView

-(void)dealloc{

    [super dealloc];
    [_textLabel release];
    [_RightSmallImageV release];
    [_gapView release];

}

-(instancetype)initWithFrame:(CGRect)frame{

    self = [super initWithFrame:frame];
    if (self) {
        [self createLayout];
    }

    return self;
}
-(void)createLayout{

    
    self.textLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 0, self.frame.size.width / 2, self.frame.size.height - 1)];
    
    self.textLabel.backgroundColor = [UIColor whiteColor];
 //   self.textLabel.font = [UIFont systemFontOfSize:19];
    [self addSubview:self.textLabel];
    
    self.RightSmallImageV = [[UIImageView alloc] initWithFrame:CGRectMake(self.frame.size.width - 40, 15, 20, 20)];
    self.RightSmallImageV.backgroundColor = [UIColor whiteColor];
    self.RightSmallImageV.image = [UIImage imageNamed:@"jiantou"];
    [self addSubview:self.RightSmallImageV];
    
    self.gapView = [[UIView alloc] initWithFrame:CGRectMake(0, self.frame.size.height - 1, self.frame.size.width, 1)];
    self.gapView.backgroundColor = [UIColor lightGrayColor];
    [self addSubview:self.gapView];
    


}


@end
